|
In computational fluid dynamics, the MacCormack method is a widely used discretization scheme for the numerical solution of hyperbolic partial differential equations. This second-order finite difference method was introduced by Robert W. MacCormack in 1969.〔MacCormack, R. W., The Effect of viscosity in hypervelocity impact cratering, AIAA Paper, 69-354 (1969).〕 The MacCormack method is elegant and easy to understand and program.〔Anderson, J. D., Jr., Computational Fluid Dynamics: The Basics with Applications, McGraw Hill (1994).〕 == The algorithm == The MacCormack method is a variation of the two-step Lax–Wendroff scheme but is much simpler in application. To illustrate the algorithm, consider the following first order hyperbolic equation : The application of MacCormack method to the above equation proceeds in two steps; a ''predictor step'' which is followed by a ''corrector step''. Predictor step: In the predictor step, a "provisional" value of at time level (denoted by It may be noted that the above equation is obtained by replacing the spatial and temporal derivatives in the previous first order hyperbolic equation using forward differences. Corrector step: In the corrector step, the predicted value term by the temporal average : to obtain the corrector step as : 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「MacCormack method」の詳細全文を読む スポンサード リンク
|